﻿<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<title>后台管理-新闻列表</title>
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/admin.css">
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
<body>
  <div class="header">欢迎使用后台系统</div>
  <div class="content">
    <ul class="nav">
      <li><a href="banner.html">Banner图设置</a></li>
      <li><a href="news.html">新闻列表</a></li>
      <li><a href="givaways.html">礼包上传</a></li>
    </ul>
    <div class="main">
      <button type="button" class="add_news">添加新闻</button>
      <ul class="news_list">
        <li><span>ID</span><span>标题</span><span>类别</span><span>添加时间</span><span>修改时间</span><span>是否显示</span></li>
        <li><span>1</span><span>标题标题标题标题标题标题标题</span><span>新闻</span><span>2018-04-22 19:10:22</span><span>2018-04-22 19:10:22</span><span>是</span></li>
        <li><span>2</span><span>标题标题标题标题标题标题标题</span><span>公告</span><span>2018-04-22 19:10:22</span><span>2018-04-22 19:10:22</span><span>是</span></li>
        <li><span>3</span><span>标题标题标题标题标题标题标题</span><span>攻略</span><span>2018-04-22 19:10:22</span><span>2018-04-22 19:10:22</span><span>是</span></li>
        <li><span>4</span><span>标题标题标题标题标题标题标题</span><span>新闻</span><span>2018-04-22 19:10:22</span><span>2018-04-22 19:10:22</span><span>是</span></li>
      </ul>
    </div>
  </div>
<script>
$('.news_list').click(function(){
  window.location.href = 'news_detail.html';
})
$('.add_news').click(function(){
  window.location.href = 'news_detail.html';
})
</script>
</body>

</html>
